Manchester | 26-ITP-Jan | Liban Jama | Sprint 1 | Object Destructing#406
Manchester | 26-ITP-Jan | Liban Jama | Sprint 1 | Object Destructing#406libanj0161 wants to merge 7 commits into
Conversation
|
i copied another colleague's title but forgot to change it to my name. The work is mine |
There was a problem hiding this comment.
I don't see any output on the console when I run this exercise
There was a problem hiding this comment.
How are you verifying that the output is correct?
| const itemName = item.itemName; | ||
| const quantity = item.quantity; | ||
| const unitPricePence = item.unitPricePence; |
Luro91
left a comment
There was a problem hiding this comment.
I still don't see output for exercise 2
|
Pushed the code where i called the functions |
| }); | ||
|
|
||
| const output = peopleNames.join("\n"); | ||
| console.log("People in Gryffindor House", output); |
There was a problem hiding this comment.
How could you improve the formatting of the output? (so that the headers are on top)
Teachers with pets Albus Dumbledore
People in Gryffindor House Harry Potter
Ron Weasley
Hermione Granger
Minerva McGonagall
Albus Dumbledore
|
Improved formatting so that headers are at the top. |
Luro91
left a comment
There was a problem hiding this comment.
The teachers with pets header could also use a new line. Otherwise looks good
|
Closing PR because the January ITP run has finished. Feel free to re-open if you're still working on it. |


Self checklist
Changelist
Completed exercises 1, 2, and 3.
Questions
N/A.